package flexulous.util;

import java.net.URL;
import javax.swing.ImageIcon;

import org.gjt.sp.util.Log;

import flexulous.Flexulous;

public class Util {
    public static ImageIcon createIcon(String path) {
        URL iconURL = Flexulous.class.getClassLoader().getResource("flexulous/icons/" + path);
        return new ImageIcon(iconURL);
    }
}
